RWTH - Mindstorms NXT Toolbox

tictic

Similar to MATLAB's tic(), but extended to save "more states"

Contents

Syntax

tictic(id)

Description

tictic(id) will start tic command determined by a specific id. E.g. tictic(3) will not influence measurements of tictic(2).

Note:

Do not use too large values for id, as they will take up memory. Also make sure that you do not mix up those tictic ids. Note that toctoc() does not generate a screen output like toc() does.

Example

   id = 7;
   tictic(id);
      % do something...
   timeTaken = toctoc(id);

See also

toctoc

Signature